<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>案例6</title>
    <style>
        #message {
            font-size: 12px;
            display: none;
            padding: 5px 10px;
            color: red;
            background-color: #ffdddd;
        }
    </style>
</head>

<body>
    <!-- 179001202 张皓然 -->
    <div style="width: 200px;">
        <input type="checkbox" onmousemove="msg.style.display='block'" onmouseout="msg.style.display='none'">两周内自动登录
        <p id="message">为了您的信息安全，请不要再网吧或公用电脑上使用此功能！</p>
    </div>

    <script>
        let msg = document.querySelector('#message')
    </script>
</body>

</html>